﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Manager.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">



</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HEAD" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="main_content" runat="server">
        <%B2B.Models.SP_MessageDetail messageDetail = (B2B.Models.SP_MessageDetail)ViewData["messageDetail"]; 
        string link = messageDetail.Link;
        string hinhAnh = messageDetail.HinhAnh;
        string url = "../../Images/Alibaba/" + hinhAnh;
        string masp = link.Substring(link.LastIndexOf("/") +1);
  %>
    <h6> Management -> Messages & Contact -> Sentbox

   <div>
        <table cellspacing="5px" cellpadding="5px" width="100%" border="0">
            <tr style="background-color:#177f75; font-size:20px; color:white">
                <th colspan="2"><%=messageDetail.ChuDe %>"</th>
            </tr>
            <tr>
                <th style="font-size:15px">Date: </th>
                <td style="width:800px; font-size:15px"><%=messageDetail.NgayGui %></td>
            </tr>
            <tr>
                <th style="font-size:15px">From: </th>
                <td style="font-size:15px"><%=messageDetail.EmailNGuoiGui %></td>
            </tr>
            <tr>
                <th style="font-size:15px">Sent to: </th>
                <td style="font-size:15px"> <%=messageDetail.EmailNguoiNhan %></td>
            </tr>
            <tr>
                <td colspan="2">
                    <div style="width:800px ;padding-left:20px;font-size:15px">
                       
                         <a href="<%=link %>"><img src="<%=url %>" align="left" /> </a> <%=messageDetail.NoiDung %>
                    </div>
                </td>
            </tr>            
        </table>
        <div style="height:10px"></div>
       
      
    </div>
</asp:Content>
